package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.entity.domain.business.BusinessDO;
import com.qk.entity.Business;
import com.qk.entity.dto.business.BusinessDTO;
import com.qk.entity.dto.business.BusinessListDTO;
import com.qk.entity.dto.business.BusinessPoolDTO;
import com.qk.entity.dto.business.UpdateBusinessInfoDTO;
import com.qk.entity.vo.business.BusinessVO;

/**
 * @author fantuan
 * @created 2025/10/15 10:53
 * @description
 */
public interface BusinessService extends IService<Business> {
    PageResult<BusinessDO> selectBusinessList(BusinessListDTO dto);

    void addBusiness(BusinessDTO dto);

    void updateBusinessById(Integer businessId, Integer userId);

    BusinessVO selectBusinessById(Integer id);

    void updateBusinessInfo(UpdateBusinessInfoDTO dto);

    void backBusinessById(Integer id);

    PageResult<Business> selectBusinessPool(BusinessPoolDTO dto);

    void toCustomerById(Integer id);
}
